﻿using MediatR;
using MyMES.Domain.W.Liststructure;
using MyMES.Error;

namespace MyMES.Writer.API.Application.Commends.W.realize
{
    public class AddProductionreturnCommands:IRequest<APIResult<Productionreturn>>
    {
        public int PId { get; set; }

        /// <summary>
        /// 退料单编号
        /// </summary>
        public string ReturnNumber { get; set; }

        /// <summary>
        /// 退料单名称
        /// </summary>
        public string ReturnName { get; set; }

        /// <summary>
        /// 退料类型
        /// </summary>
        public int Returntype { get; set; }

        /// <summary>
        /// 生产工单
        /// </summary>
        public string Productionwork { get; set; }

        /// <summary>
        /// 工作站
        /// </summary>
        public string Workstation { get; set; }

        /// <summary>
        /// 退料日期
        /// </summary>
        public DateTime ReturnTime { get; set; }

        /// <summary>
        /// 单据状态
        /// </summary>
        public int DocumentStatus { get; set; } = 1;

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        /// 删除标志
        /// </summary>
        public bool IsDelete { get; set; }
    }
}
